/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.sys.bean;

import com.yunhoo.sys.util.common.CommonParam;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.model.SelectItem;

/*
 * 页面常用参数bean
 */

@ManagedBean(name = "paramBean")
@SessionScoped
public class ParameterBean {
    private List<SelectItem> iyearList = null;
    
    public List<SelectItem> getIyearList(){
        
        if(iyearList == null) iyearList = CommonParam.yearList();
        
        return iyearList;
    }    
}
